# -*- coding:utf-8 -*-
from fastapi import Request
from core.curd import IBaseService
from app.dao.system import SysLogDao
# from app.entity.system import SysLog


class SysLogService(IBaseService):

    @classmethod
    async def instance(cls, req: Request):
        inst = cls()
        inst.dao = await SysLogDao.instance(req)
        return inst
